package com.hhj.king.eurake.ctrl;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author KING
 * @date 2018/9/22 18:25
 */
@RestController
public class EurakeController {

    @Value("${hello.king:你好啊}")
    private String hello;

    @RequestMapping(value = "/hello")
    public String sayHello() {
        return "你好" + hello;
    }
}
